<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>表单绑定：双向绑定</title>
    <script src="./js/vue.js"></script>
</head>
<body>
    <div id="div">
        <form action="" autocomplete="off">
            姓名：<input type="text" name="username" v-model="username">
            <br>
            年龄：<input type="text" name="age" v-model="age">
        </form>
    </div>
</body>
<script>
    new Vue({
        el : "#div",
        data : {
            username : "张三丰",
            age : 23
        }
    });
</script>
</html>